namespace Clothes.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("CLDress")]
    public partial class CLDress : BaseContext
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public CLDress()
        {
            shopping = new HashSet<shopping>();
        }

        [Required]
        [StringLength(100)]
        public string Avatar { get; set; }

        [Required]
        [StringLength(100)]
        public string Summary { get; set; }

        public int TypeId { get; set; }

        public int? Surplus { get; set; }

        public int? Number { get; set; }

        public int? Sur { get; set; }

        public decimal Price { get; set; }

        public int? Money { get; set; }

        public virtual CLClassify CLClassify { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<shopping> shopping { get; set; }
    }
}
